package com.sky.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author 贾晓晨
 * @version 1.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ArticleChildCommentVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("评论文章id")
    private Integer id;
    @ApiModelProperty("子评论的用户ID")
    private String userId;
    @ApiModelProperty("子评论用户的名称")
    private String nickName;
    @ApiModelProperty("子评论用户的头像")
    private String avatarUrl;
    @ApiModelProperty("子评论用户的内容")
    private String content;
    @ApiModelProperty("图片内容")
    private List<String> contentImg;  // 新增图片字段
    @ApiModelProperty("回复给的名称")
    private String parentName;
    private LocalDateTime createTime;  // 新增时间字段
}
